home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / forth-to-latex-pretty-print / F2L / Documentation / INSTALL next >
Encoding:
Text File  |  1995-01-05  |  1.9 KB  |  78 lines  |  [TEXT/ALFA]

  1.  
  2. INSTALL for Forth2LaTeX
  3. -----------------------(01-05-95)
  4.  
  5.  
  6.  
  7.  This document describes how to compile and run Forth2LaTeX on Unix, VAX, 
  8.  MS-DOS and Macintosh computers.
  9.  
  10.  
  11.  
  12. FOR ALL COMPUTERS
  13. -----------------
  14.  
  15.  Edit the source code for Forth2LaTeX and change the line:
  16.  
  17.  #define MACINTOSH
  18.  
  19.  to the appropriate system as listed in the code. (It's about two screens
  20.  down into the code).
  21.  
  22.  If your computer is not listed try UNIX.
  23.  
  24.  
  25.  
  26. COMPILATION AND EXECUTION DIRECTIONS FOR SPECIFIC COMPUTERS
  27. -----------------------------------------------------------
  28.  
  29.  
  30.  "MSDOS"
  31.  
  32.      The code runs as is under Turbo-C and will likely need little or no 
  33.      modification to run under other compilers.  Just make sure that the 
  34.      file 'proto.c' is in the same directory as 'f2l.c'.
  35.      
  36.      
  37.  "UNIX"
  38.  
  39.      To compile try,
  40.      
  41.        cc forth2latex.c -o forth2latex -Aa
  42.        
  43.      or, if that fails, try:
  44.      
  45.        gcc forth2latex.c -o forth2latex -ansi
  46.        
  47.        
  48.   "MACINTOSH"
  49.   
  50.      Forth2LaTeX works under THINK C if you use the ANSI library.
  51.      
  52.      
  53.   "VAX"
  54.   
  55.      Compile:  cc forth2latex.c
  56.      Link   :  link forth2latex, sys$library:vaxcrtl.olb/library
  57.      
  58.      Then, in your LOGIN.COM file enter the line:
  59.      
  60.      $ forth2latex :== <disk>:[<directory>]forth2latex.exe
  61.      
  62.      where <disk> is the name of the disk your account is located on and
  63.      <directory> is path to the directory where the file forth2latex.exe
  64.      is actually located.  Type SHOW DEF to see your disk name and current
  65.      directory. Enter @LOGIN to re-load the login file.
  66.      
  67.      Alternatively, when you wish to use Forth2LaTeX first enter,
  68.      
  69.      forth2latex :== $<disk>:[<directory>]forth2latex.exe
  70.      
  71.      to create a symbol that will be valid until you log out. Then use 
  72.      the program normally.
  73.      
  74.      If the symbol is not created in either of the two ways above the program
  75.      will not function properly.  You cannot simply RUN forth2latex.exe.
  76.  
  77.  
  78.